import React from 'react';
import Comment from './Comment'

class Welcome extends React.Component {
    render() {
        const name=this.props.match.params.name;
        return (
            <div>
                <h1>我是weclcome的内容</h1>
                <h2>Hello,{name}</h2>
                <Comment text="text" author={{name:'113',xx:'cc'}} date="date" />
            </div>
        )
    }
}
export default Welcome;